package net.tolkv.tdd;

import java.util.UUID;

public abstract class Item {

	private UUID id;
	private int price;

	public Item(UUID id) {
		super();
		this.setId(id);
	}
	
	@Override
	public String toString() {
		return "Item [id=" + getId() + ", price=" + price + "]";
	}

	public Item(UUID id, int price){
		super();
		this.setId(id);
		this.price = price;
	}

	public UUID getId() {
		return id;
	}

	public int getPrice() {
		return this.price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public void setId(UUID id) {
		this.id = id;
	}
}
